package com.ruoyi.lowcode.database;

import java.util.HashMap;
import java.util.Map;

public class DatabaseMain {

    private static final Map<String, SourceFactory> sourceMap = new HashMap<String, SourceFactory>(){
        {
            put("MYSQL", new MysqlSource());
        }
    };

    public static SourceFactory getSource(String type){
        return sourceMap.get(type);
    }

}
